package src.main.guanchazhe;

public class TestFS {
    public static void main(String[] args) {
        //发布者
        FaBu faBu=new FaBuImpl();
        //添加订阅者
        faBu.addSubscribe(new Subscribe1());
        faBu.addSubscribe(new Subscribe2());
        faBu.addSubscribe(new Subscribe3());
        //发布消息
        faBu.send();
    }
}
